package com.yykj.drup.server.dto;

import com.yykj.drup.server.model.Category;
import com.yykj.drup.server.model.Product;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author zeng
 * @Date 2022/3/28
 */
@Data
@ApiModel("自定义二级分类及药品信息")
public class CategoryProductsDto extends Category {

    @ApiModelProperty("药店含有药品信息")
    private List<Product> products;
}
